package com.innovation.chengzhangriji.http;

import com.innovation.library.http.InnovationRequestBody;

public class SyncDataRequest extends BaseDataRequest {

    public static final String PATH = BaseRequest.PATH + "api/get_top_diaries";

    @Override
    protected InnovationRequestBody getInnovationRequestBody() {
        SyncDataRequestBody body = new SyncDataRequestBody();
        body.setPhone(getPhone());
        body.setToken(getToken());
        body.setId(getId());
        body.setLength(getLength());
        body.setServerTime(getServerTime());
        return body;
    }

    private class SyncDataRequestBody extends BaseDataRequestBody {

        public SyncDataRequestBody() {
            setSv(BaseRequestConfig.SV_DATA_GET_NEW);
        }
    }

}
